package ajax.quanxuan.sys.dao;

import ajax.quanxuan.sys.entity.Leavebill;
import ajax.quanxuan.vo.LeavebillVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author KazuGin
 * @since 2024-07-13
 */
public interface LeavebillMapper extends BaseMapper<Leavebill> {
    /**
     * 分页查询请假单
     * @param page  别名注解
     * @param leavebillVo  别名注解
     * @return
     * @throws Exception
     */

        IPage<Leavebill> findLeaveBillBypage(@Param("page") IPage<Leavebill> page,@Param("leavebill") LeavebillVo leavebillVo) throws Exception;

}
